package com.ruoyi.sl.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工作绩效对象 sl_werror
 *
 * @author admin
 * @date 2024-06-14
 */
public class SlWerror extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long werrorId;

    /** 发生时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "发生时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date werrorTime;

    /** 地点 */
    @Excel(name = "地点")
    private String werrorAddress;

    /** 描述 */
    @Excel(name = "描述")
    private String werrorContent;

    /** 人物 */
    @Excel(name = "人物")
    private String werrorNick;

    /**  */
    @Excel(name = "")
    private String werrorUser;

    /** 处罚金额 */
    @Excel(name = "处罚金额")
    private BigDecimal werrorFine;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /**  */
    @Excel(name = "")
    private String isDone;

    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "", width = 30, dateFormat = "yyyy-MM-dd")
    private Date doneTime;

    /**  */
    @Excel(name = "")
    private String werrorLevel;

    /**  */
    @Excel(name = "")
    private String werrorType;

    /** 工资单ID */
    @Excel(name = "工资单ID")
    private Long mpayId;

    /** 车间0行政1 */
    @Excel(name = "车间0行政1")
    private String workOfc;

    public void setWerrorId(Long werrorId)
    {
        this.werrorId = werrorId;
    }

    public Long getWerrorId()
    {
        return werrorId;
    }
    public void setWerrorTime(Date werrorTime)
    {
        this.werrorTime = werrorTime;
    }

    public Date getWerrorTime()
    {
        return werrorTime;
    }
    public void setWerrorAddress(String werrorAddress)
    {
        this.werrorAddress = werrorAddress;
    }

    public String getWerrorAddress()
    {
        return werrorAddress;
    }
    public void setWerrorContent(String werrorContent)
    {
        this.werrorContent = werrorContent;
    }

    public String getWerrorContent()
    {
        return werrorContent;
    }
    public void setWerrorNick(String werrorNick)
    {
        this.werrorNick = werrorNick;
    }

    public String getWerrorNick()
    {
        return werrorNick;
    }
    public void setWerrorUser(String werrorUser)
    {
        this.werrorUser = werrorUser;
    }

    public String getWerrorUser()
    {
        return werrorUser;
    }
    public void setWerrorFine(BigDecimal werrorFine)
    {
        this.werrorFine = werrorFine;
    }

    public BigDecimal getWerrorFine()
    {
        return werrorFine;
    }
    public void setSubmitTime(Date submitTime)
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime()
    {
        return submitTime;
    }
    public void setIsDone(String isDone)
    {
        this.isDone = isDone;
    }

    public String getIsDone()
    {
        return isDone;
    }
    public void setDoneTime(Date doneTime)
    {
        this.doneTime = doneTime;
    }

    public Date getDoneTime()
    {
        return doneTime;
    }
    public void setWerrorLevel(String werrorLevel)
    {
        this.werrorLevel = werrorLevel;
    }

    public String getWerrorLevel()
    {
        return werrorLevel;
    }
    public void setWerrorType(String werrorType)
    {
        this.werrorType = werrorType;
    }

    public String getWerrorType()
    {
        return werrorType;
    }
    public void setMpayId(Long mpayId)
    {
        this.mpayId = mpayId;
    }

    public Long getMpayId()
    {
        return mpayId;
    }
    public void setWorkOfc(String workOfc)
    {
        this.workOfc = workOfc;
    }

    public String getWorkOfc()
    {
        return workOfc;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("werrorId", getWerrorId())
                .append("werrorTime", getWerrorTime())
                .append("werrorAddress", getWerrorAddress())
                .append("werrorContent", getWerrorContent())
                .append("werrorNick", getWerrorNick())
                .append("werrorUser", getWerrorUser())
                .append("werrorFine", getWerrorFine())
                .append("submitTime", getSubmitTime())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("isDone", getIsDone())
                .append("doneTime", getDoneTime())
                .append("werrorLevel", getWerrorLevel())
                .append("werrorType", getWerrorType())
                .append("mpayId", getMpayId())
                .append("workOfc", getWorkOfc())
                .toString();
    }
}
